// 自动生成模板Garage
package garage

import (
	"github.com/flipped-aurora/gin-vue-admin/server/global"
	
	
)

// garage表 结构体  Garage
type Garage struct {
      global.GVA_MODEL
      Name  string `json:"name" form:"name" gorm:"column:name;comment:;size:60;"`  //name字段 
      ParkingSpaceNum  *int `json:"parkingSpaceNum" form:"parkingSpaceNum" gorm:"column:parking_space_num;comment:车位总数;size:10;"`  //车位总数 
      PassageNum  *int `json:"passageNum" form:"passageNum" gorm:"column:passage_num;comment:通道总数;size:10;"`  //通道总数 
      Address  string `json:"address" form:"address" gorm:"column:address;comment:车库地址;size:100;"`  //车库地址 
      TemporaryIsCharge  *bool `json:"temporaryIsCharge" form:"temporaryIsCharge" gorm:"column:temporary_is_charge;comment:临时车是否收费 1收费 2不收费;"`  //临时车是否收费 1收费 2不收费 
      TemporaryIsEnter  *bool `json:"temporaryIsEnter" form:"temporaryIsEnter" gorm:"column:temporary_is_enter;comment:临时车是否允许进入 1允许进入 2不允许;"`  //临时车是否允许进入 1允许进入 2不允许 
}


// TableName garage表 Garage自定义表名 garage
func (Garage) TableName() string {
  return "garage"
}

